home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Languguage OS 2
/
Languguage OS II Version 10-94 (Knowledge Media)(1994).ISO
/
language
/
embedded
/
mcu
/
cluster.arc
/
FFWD_C.CHG
< prev
next >
Wrap
Text File
|
1989-05-24
|
1KB
|
41 lines
FILE: ffwd_c.chg
PURPOSE: To describe the lost cluster fix to the ASXX cross assemblers.
DESCRIPTION:
The problem of MS-DOS lost clusters is due to a file being erased before it
is closed in the module FFWD.C. This would not be a problem on a Unix system
but causes lost clusters on a MS-DOS machine.
The archive from which this file was extracted, also contains the file FFWD.C
that has been modified with the change described in this file. In order to
create the '.EXE' files substitute the FFWD.C file given here in the original
source and re-compile the assemblers. I used Borland Turbo C ver 2.0.
See also the enhancement to the commenting style made to file AS.C. Details
can be found in file AS_C.CHG.
See also the enhancement to the cross reference, and symbol table output made
to file OUTPUT.C. Details can be found in file OUTPUT_C.CHG.
If you have any questions for me, or if you would like me to upload the
complete source and executable files that include this change, I can be reached
at 801-778-4410. Ask for Bruce Olney.
A fix to resolve this problem could be implemented as follows: (starting with
line 24 of FFWD.C)
WAS:
#ifndef DEBUG
unlink(Fwd_name);
#endif
FIX:
#ifndef DEBUG
close(Forward); /* Have to close first on MS-DOS or you leave lost clusters. */
unlink(Fwd_name);
#endif